package com.example.word.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName tb_teacher
 */
@TableName(value ="tb_teacher")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Teacher implements Serializable {
    /**
     * 
     */
    @TableId(value = "id")
    private Integer id;

    /**
     * 用户信息id
     */
    @TableField(value = "user_info_id")
    private Integer userInfoId;

    /**
     * 
     */
    @TableField(value = "teacher_name")
    private String teacherName;

    /**
     * 工号
     */
    @TableField(value = "number")
    private Integer number;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}